package com.xuanzheng.company.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class Announcement implements Serializable {
    private String id;
    private String companyId;
    private String title;
    private String content;
    private String publisherId;
    private String publisherName;
    private Timestamp publishTime;
    private Timestamp updateTime;
    
    public Announcement() {
    }
    
    // Getters and Setters
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getCompanyId() {
        return companyId;
    }
    
    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
    
    public String getTitle() {
        return title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getContent() {
        return content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    
    public String getPublisherId() {
        return publisherId;
    }
    
    public void setPublisherId(String publisherId) {
        this.publisherId = publisherId;
    }
    
    public String getPublisherName() {
        return publisherName;
    }
    
    public void setPublisherName(String publisherName) {
        this.publisherName = publisherName;
    }
    
    public Timestamp getPublishTime() {
        return publishTime;
    }
    
    public void setPublishTime(Timestamp publishTime) {
        this.publishTime = publishTime;
    }
    
    public Timestamp getUpdateTime() {
        return updateTime;
    }
    
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }
    
    @Override
    public String toString() {
        return "Announcement{" +
                "id='" + id + '\'' +
                ", companyId='" + companyId + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", publisherId='" + publisherId + '\'' +
                ", publisherName='" + publisherName + '\'' +
                ", publishTime=" + publishTime +
                ", updateTime=" + updateTime +
                '}';
    }
} 